{if $itemtype == "datoscontacto"}
	{if $value == 1}
		<a href="#" onclick="javascript:publishContacto('{$contactoType}'); changeImage('publishImg_{$contactoType}','images/admin/publish.png', 'images/admin/nopublish.png');" ><img id="publishImg_{$contactoType}" src="images/admin/publish.png"/></a>
	{else}
		<a href="#" onclick="javascript:publishContacto('{$contactoType}'); changeImage('nopublishImg_{$contactoType}','images/admin/publish.png', 'images/admin/nopublish.png');""><img id="nopublishImg_{$contactoType}" src="images/admin/nopublish.png"/></a>
	{/if}
{/if}


{if $itemtype == "obras"}
	{if $value == 1}
		<a href="#" onclick="javascript:publishObra({$itemid}); changeImage('publishImg_{$itemid}','images/admin/publish.png', 'images/admin/nopublish.png');" ><img id="publishImg_{$itemid}" src="images/admin/publish.png"/></a>
	{else}
		<a href="#" onclick="javascript:publishObra({$itemid}); changeImage('nopublishImg_{$itemid}','images/admin/publish.png', 'images/admin/nopublish.png');""><img id="nopublishImg_{$itemid}" src="images/admin/nopublish.png"/></a>
	{/if}	
{/if}



{if $itemtype == "plan"}
	{if $value == 1}
		<a href="#" onclick="javascript:publishPlan({$itemid}); changeImage('publishImg_{$itemid}','images/admin/publish.png', 'images/admin/nopublish.png');" ><img id="publishImg_{$itemid}" src="images/admin/publish.png"/></a>
	{else}
		<a href="#" onclick="javascript:publishPlan({$itemid}); changeImage('nopublishImg_{$itemid}','images/admin/publish.png', 'images/admin/nopublish.png');""><img id="nopublishImg_{$itemid}" src="images/admin/nopublish.png"/></a>
	{/if}	
{/if}



{if $itemtype == "contentplan"}
	{if $value == 1}
		<a href="#" onclick="javascript:publishContentPlan({$itemid}, '{$contenttype}'); changeImage('publishImg_{$contenttype}','images/admin/publish.png', 'images/admin/nopublish.png');" ><img id="publishImg_{$contenttype}" src="images/admin/publish.png"/></a>
	{else}
		<a href="#" onclick="javascript:publishContentPlan({$itemid}, '{$contenttype}'); changeImage('nopublishImg_{$contenttype}','images/admin/publish.png', 'images/admin/nopublish.png');""><img id="nopublishImg_{$contenttype}" src="images/admin/nopublish.png"/></a>
	{/if}	
{/if}
